<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>{$meta_title}</h2>
    </div>
    <form action="{:U('saveDelay')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">学生<span class="check-tips"></span></label>
            <div class="controls">
                <span class="sui-text-info" style=" font-size:20px;">{$data.sid|_getStudentName}</span>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">延期至<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="end_time" value="{$data.class_time_cycle}" id="end_time">
            </div>
        </div>


        <div class="form-item" style="margin-top: 30px;">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
        <input type="hidden"  name="id" value="{$data.id}" >
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //日期时间范围
        laydate.render({
            elem: '#end_time'
            ,type: 'date'
        });

        //导航高亮
        highlight_subnav('{:U('Grade/index')}');
    </script>
</block>
